//文字
$base-color: #525252;
$second-color: #888;
$hl-color: #1d9af9;
$second-hl-color: #f91de2;
//背景
$bg-color: #fff;
$hl-bg-color: #f2f2f2;
//边界
$border-color: #d1d1d1;
$img-border-color: #e8e8e8;

//盒模式布局
@mixin flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
//盒模式垂直布局
@mixin flex-v {
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
//子元素占据剩余的空间
@mixin flex-1 {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
//子元素垂直居中
@mixin flex-align-center {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
//子元素水平居中
@mixin flex-pack-center {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}
//子元素两端对齐
@mixin flex-pack-justify {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

//超出文本...显示
@mixin text-over{
    overflow: hidden; 
    text-overflow:ellipsis; 
    white-space: nowrap;
}